# $Id: PKGBUILD 137892 2011-09-12 09:45:56Z allan $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=taglib-extras
pkgver=1.0.1
pkgrel=2
pkgdesc="Additional taglib plugins for KDE"
arch=('i686' 'x86_64')
url="http://developer.kde.org/~wheeler/taglib.html"
license=('LGPL')
depends=('taglib>=1.6')
makedepends=('pkgconfig' 'cmake' 'automoc4')
source=(http://www.kollide.net/~jefferai/${pkgname}-${pkgver}.tar.gz)
md5sums=('e973ca609b18e2c03c147ff9fd9e6eb8')

build() {
  mkdir $srcdir/build
  cd $srcdir/build
  cmake ../$pkgname-$pkgver \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_SKIP_RPATH=ON
  make
}

package() {
  cd $srcdir/build
  make DESTDIR=$pkgdir install
}
